package com.imooc.service;

import java.util.List;

import com.imooc.Dao.MessageDao;
import com.imooc.beans.Message;

public class ListService {

	private MessageDao dao = new MessageDao();
	
	public List<Message> queryMessageList(String command ,String description){
		return dao.queryMessageList(command, description);
	}
	
	
}
